﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Visual/Template/padrao.master"
    AutoEventWireup="true" CodeFile="BuscadorQuery.aspx.cs" Inherits="BuscadorQuery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="Styles/menustyles.css" rel="stylesheet" type="text/css" />
    <link href="Styles/interfacemetro/css/modern.css" rel="stylesheet" type="text/css" />
    <link href="Styles/interfacemetro/css/modern-responsive.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="header" runat="Server">
    <h1>
        Search</h1>
    <h2>
    </h2>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoDinamico" runat="Server">
<div class="table hovered ">
    <asp:GridView ID="gvsearch" runat="server" DataSourceID="SearchDS" AllowPaging="True"
        AllowSorting="True" AutoGenerateColumns="False"  EmptyDataText="No registers found." Width="1000px" 
        onselectedindexchanged="selecionarsequencia">
        <Columns>
            <asp:BoundField DataField="id" HeaderText="Acession" >
            <ItemStyle  Width="100px" HorizontalAlign=Center/>
            </asp:BoundField>
            <asp:BoundField DataField="idacession" HeaderText="Acession" >
            <ItemStyle  Width="130px" HorizontalAlign=Center/>
            </asp:BoundField>
            <asp:BoundField DataField="definition" HeaderText="Definition" >
            <ItemStyle  Width="400px" HorizontalAlign=Left/>
            </asp:BoundField>
            <asp:BoundField DataField="name" HeaderText="Organism">
                <ItemStyle Width="250px"  HorizontalAlign=Center/>
            </asp:BoundField>
            <asp:BoundField DataField="description" HeaderText="Subtype">
                <ItemStyle Width="90px" HorizontalAlign=Center/>
            </asp:BoundField>
            <asp:BoundField DataField="featuremap" HeaderText="Region MAP">
                <ItemStyle Width="150px" HorizontalAlign=Center />
            </asp:BoundField>
            <asp:CommandField ButtonType="Image" 
                SelectImageUrl="~/Visual/Imagens/search.png" ShowSelectButton="True" />
        </Columns>
        <HeaderStyle HorizontalAlign="Center" />
    </asp:GridView>
    </div>
    <asp:ObjectDataSource ID="SearchDS" runat="server" SelectMethod="selectbuscador"
        TypeName="VSDBM.Code.dao.SequenceDAO">
        <SelectParameters>
            <asp:SessionParameter Name="filters" SessionField="searchfilter" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
